package com.wz.jiangsu.main;

import cn.hutool.core.collection.CollUtil;

import java.util.ArrayList;

/**
 * @program: wz
 * @author: wangzhou
 * @create: 2023-12-22 11:50
 * @description:
 **/
public class TestCollection {
    public static void main(String[] args) {
        ArrayList<String> strings = new ArrayList<>();
        boolean add = strings.add(null);
        if (CollUtil.isEmpty(strings)) {
            System.out.println("集合是空的");
        }
        int size = strings.size();
        System.out.println("size=" + size);
    }
}
